<template>
  <div>
    <p>this is home.vue</p>
    <router-link to="/home/news">news</router-link>
    <router-link to="/home/message">message</router-link>
    
      <router-view/>
  </div>
</template>

<script>
export default {
  name: "Home",
  created(){
    // document.title = 'Home'
    console.log('home create')
  },
  destroyed(){
    console.log('home des')
  }
};
</script>

<style scoped>
</style>